8aa56d9397cf74768e58f555d6d33e4c7cdfef94,zul/src/org/zkoss/zul/Treeitem.java,Treeitem,addVisibleItemCount,#number#boolean#,436

Before Change


	 */
	void addVisibleItemCount(int count, boolean force) {
		Treechildren tc = (Treechildren) getParent();
		if (tc != null && (force || isVisible())) {
			Component parent = tc.getParent();
			if (parent instanceof Tree)
				tc.addVisibleItemCount(count);
			else if (((Treeitem)parent).isOpen()) {
				tc.addVisibleItemCount(count);
			}
		}
	}

After Change


	void addVisibleItemCount(int count) {
		Treechildren tc = (Treechildren) getParent();
		if (tc != null && super.isVisible())
			tc.addVisibleItemCount(count);
	}
	
	//-- Component --//